package com.tudouji.framework.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 读取D3相关配置
 *
 * @author coal
 */
@Component
@ConfigurationProperties(prefix = "d3")
public class D3Config {

	private static String appKey;
	private static String AppSecret;
	private static String URL;

	public static String getAppKey() {
		return appKey;
	}

	public void setAppKey(String appKey) {
		D3Config.appKey = appKey;
	}

	public static String getAppSecret() {
		return AppSecret;
	}

	public void setAppSecret(String appSecret) {
		AppSecret = appSecret;
	}

	public static String getURL() {
		return URL;
	}

	public void setURL(String URL) {
		D3Config.URL = URL;
	}
}
